package com.wdb007.venus.svc.dal.account.dao;

import java.math.BigDecimal;
import java.util.List;

import com.wdb007.venus.svc.dal.account.model.AccountCashLogDO;
import com.wdb007.venus.svc.dal.account.model.AccountCashLogQueryDO;
import com.wdb007.venus.svc.dal.account.model.ExpenseRecordDO;

public interface AccountCashLogDAO {
	
    int remove(Long id);

    int insert(AccountCashLogDO record);

    AccountCashLogDO get(Long id);

    int update(AccountCashLogDO record);
    
    int countByUser(Long userid);
    
    List<ExpenseRecordDO> getByPageQuery(AccountCashLogQueryDO queryDO);
    
    BigDecimal getInviteBonus(Long userId);
    
    BigDecimal getChangeAmount(Long orderId);
}